 <?php 

include("../db/opendb.php");
include("functions.php");

$query = "SELECT * FROM zillow_guesses where user_id = '".$_GET['username']."' order by status, future_date";

$result = mysql_query($query) or die ("SQL Error".mysql_error());

$xml = getXML($result);

echo $xml;
?>

